package com.sniff.atp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @BelongsProject: sniff-atp
 * @BelongsPackage: com.sniff.atp.entity
 * @Author: zxy
 * @CreateTime: 2023-04-25 20:55
 * @Description: 工具使用记录
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tools_info")
@ApiModel(value="ToolsInfo对象", description="工具使用记录")
public class ToolsInfo {
    @TableId(value ="id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    @ApiModelProperty(value = "工具名称")
    private String title;

    @ApiModelProperty(value = "方法名称")
    private String methodName;

    @ApiModelProperty(value = "工具地址")
    private String uri;

    @ApiModelProperty(value = "调用次数")
    private Integer count;
}
